﻿class RequireBookMail < ActionMailer::Base
  default from: "from@example.com"
  def require_book_mail(mail_body)
  @body = mail_body
    mail(:to => "coffeeppl@gmail.com", :subject => "Yêu cầu nước uống mới")
  end
  
  def feedback_user_mail(mail_body)
  @body = mail_body
    mail(:to => "coffeeppl@gmail.com", :subject => "Ý kiến người dùng")
  end
  

  def password_reset(mail_body)
  @body = mail_body
    mail(:to => @body["mail"], :subject => "[Coffe Shop] Yêu cầu reset password - pass default" )
  end
end
